package com.xhdd.constant;


public interface Const {
    double k = 64 * 64 * 1024;
    double minL = -256 * k;
    double maxL = 256 * k;

    String INXDEX_NO_EXIT = "索引不存在";
    String FILE_FORMAT_ERR = "文件格式错误";
    String CODING = "编码中";

    String ALL = "*";
    String GT = ">";
    String GTE = ">=";
    String LTE = "<=";
    String LT = "<";
    String STATS = "stats";
    String MAX = "max";
    String MIN = "min";
    String AVG = "avg";
    String CARDINALITY = "cardinality";
    String GROUPBY = "groupBy";
    String LONG = "long";
    String STRING = "string";
    String DOUBLE = "double";

    String APART = "apart";
    String AinB = "A in B";
    String BinA = "B in A";
    String INTERSECT = "intersect";

    String ONE = "1";
    String TWO = "2";
    String THREE = "3";
    String FOUR = "4";

//    String META_TB = "meta_tb";
    String BDCODE = "bdcodes";
    String POLYGON = "polygon";
    String MULTIPOLYGON = "multipolygon";
    String MULTIPOINT = "multipoint";
    String MULTILINESTRING = "multilinestring";
    String LINESTRING = "linestring";
    String POINT = "point";
    String FEATURES = "features";
    String MAPPING = "mapping";
    String MAPPINGS = "mappings";
    String GEOMETRY = "geometry";
    String PROPERTIES = "properties";
    String NAME = "name";
    String LEVEL = "level";
    String META_TB_MAPPING = """
            {
              "mappings": {
                "properties": {
                  "name": {
                    "type": "keyword"
                  },
                  "mapping": {
                    "type": "text"
                  },
                  "level": {
                    "type": "integer"
                  }
                }
              }
            }
            """;

}

